﻿/*
    Copyright (c) 2013-2014 Contributors as noted in the AUTHORS file

    This file is part of  RuNet Importer for NodeXL.

    RuNet Importer is free software; you can redistribute it and/or modify it under
    the terms of the Microsoft Public License (Ms-PL), or (at your option) any later 
	version.

    RuNet Importer is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
	See the Microsoft Public License for more details.

    You should have received a copy of the Microsoft Public License
    along with this program.  If not, see <http://www.microsoft.com/en-us/openness/licenses.aspx>.
*/

using System;
using Smrf.AppLib;
using rcsir.net.ok.importer.Events;

namespace rcsir.net.ok.importer.Dialogs
{
    public interface ICommandEventDispatcher
    {
        OKLoginDialog LoginDialog { get; }
        AttributesDictionary<bool> DialogAttributes { set; }
        
        event EventHandler<CommandEventArgs> CommandEventHandler;

        void OnData(object obj, GraphEventArgs graphEvent = null);
        void OnRequestError(object obj, ErrorEventArgs graphEvent = null);
    }
}